package com.da.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author JokerDa.
 * @date 2021/1/18 15:56
 * Description:
 */
@Mapper
public interface StorageDao {
    /**
     * 减库存
     */
    int decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
